package com.ruoyi.gather.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.gather.api.domain.ErpCollectProductSku;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(contextId = "remoteCollectProductSkuPriceService", value = ServiceNameConstants.GATHER_SERVICE)
public interface RemoteCollectProductSkuPriceService {

    /**
     * 根据SKU code 获取采集商品SKU价格信息
     * @param skuCode
     * @return
     */
    @GetMapping("/gather/collectProductSkuPrice/getBySkuCode/{skuCode}")
    public R<Object> getBySkuCode(@PathVariable("skuCode") String skuCode);
}
